import sys
from pathlib import Path

base_path = str(Path(__file__).resolve().parent.parent)
sys.path.append(base_path)
from create_llm import create_embeddings

_embeddings = create_embeddings("doubao-embedding")

temp = _embeddings.embed_query("你好")
print(temp)
